package com.mars.module.admin.request;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.mars.common.request.PageRequest;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 中奖记录请求对象 record
 *
 * @author mars
 * @date 2024-04-23
 */
@Data
@ApiModel(value = "中奖记录对象")
@EqualsAndHashCode(callSuper = true)
public class RecordRequest extends PageRequest{
    @ApiModelProperty(value = "中奖人员")
    private String userName;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "奖品名称")
    private String awardName;

    /**
     * 
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 中奖人员id
     */
    @ApiModelProperty(value = "中奖人员id")
    private Integer memberId;

    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    /**
     * 中奖奖项id
     */
    @ApiModelProperty(value = "中奖奖项id")
    private Integer awardId;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 0: 未中奖  1：中奖
     */
    @ApiModelProperty(value = "0: 未中奖  1：中奖")
    private Integer isAward;
}
